﻿using System;
using System.Text;
using ZebraCoreLib.Framework;
using System.Data.Linq.Mapping;
using ZebraCoreLib.ZebraException;
using ZebraCoreLib.BasBiz;
using System.Data.Common;
using ZebraCoreLib.Logistics;

namespace ZebraCoreLib.StockValueAdd
{
    public class StockTrans
    {
        #region 库内追踪表 字段属性

        [ZebraField(Title = "编号", DataField = "transID", IsRequired = true, IsPrimaryKey = true, IsAutoID = true)]
        public string TransID { get; set; }

        [ZebraField(Title = "库内交易号", DataField = "transNo", IsRequired = true)]
        public string TransNo { get; set; }

        [ZebraField(Title = "状态", DataField = "state", IsRequired = true)]
        public string State { get; set; }

        [ZebraField(Title = "", DataField = "inBoundDetailID", IsRequired = true)]
        public string InBoundDetailID { get; set; }

        [ZebraField(Title = "", DataField = "prevPin", IsRequired = true)]
        public string PrevPin { get; set; }

        [ZebraField(Title = "", DataField = "nextPin", IsRequired = true)]
        public string NextPin { get; set; }

        [ZebraField(Title = "", DataField = "storeCode", IsRequired = true)]
        public string StoreCode { get; set; }

        [ZebraField(Title = "", DataField = "prevGoodsID", IsRequired = true)]
        public string PrevGoodsID { get; set; }

        [ZebraField(Title = "", DataField = "barcode", IsRequired = true)]
        public string Barcode { get; set; }

        [ZebraField(Title = "", DataField = "SKU", IsRequired = true)]
        public string SKU { get; set; }

        [ZebraField(Title = "", DataField = "goodsName", IsRequired = true)]
        public string GoodsName { get; set; }

        [ZebraField(Title = "", DataField = "transQty", IsRequired = true)]
        public int TransQty { get; set; }

        [ZebraField(Title = "", DataField = "transTime", IsRequired = true)]
        public DateTime TransTime { get; set; }

        [ZebraField(Title = "", DataField = "rejectDesc", IsRequired = true)]
        public string RejectDesc { get; set; }

        [ZebraField(Title = "", DataField = "nextGoodsID", IsRequired = true)]
        public string NextGoodsID { get; set; }

        [ZebraField(Title = "", DataField = "checkCode", IsRequired = true)]
        public string CheckCode { get; set; }

        #endregion
    }
}
